package com.emmmya.ocs.modules.system.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.emmmya.ocs.common.base.BaseService;
import com.emmmya.ocs.modules.system.entity.Dict;
import com.emmmya.ocs.modules.system.entity.DictData;

import java.util.List;

/**
 * @description:
 * @author: 咕噜肉IT小店-黑医
 * @createDate: 2021-02-20
 * @version: 1.0
 */
public interface DictService extends BaseService<Dict,Long> {
    List<DictData> findByParentId(Long parentId);
    void getDataListByPage(IPage<DictData> page, Wrapper<DictData> wrapper);

    DictData getDictDataByParentIdAndDictName(Long parentId,String dictName);
}
